package com.fang.networkdisk.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fang.common.common.CommonPage;
import com.fang.networkdisk.entity.bo.UserBo;
import com.fang.networkdisk.entity.po.TbNetDisUser;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author Bernie_fang
 * @since 2024-12-07
 */
public interface TbNetDisUserService extends IService<TbNetDisUser> {

    TbNetDisUser findUserByUsername(String username);

    CommonPage queryUser(UserBo userBo);

    int addUser(UserBo userBo);

    int updateUserById(UserBo userBo);

    int deleteUserById(Integer id, String authorId);

}
